[INFO] fetching crate juggernaut 0.9.0...
[INFO] testing juggernaut-0.9.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate juggernaut 0.9.0 into /workspace/builds/worker-6-tc1/source
[INFO] started tweaking crates.io crate juggernaut 0.9.0
[INFO] finished tweaking crates.io crate juggernaut 0.9.0
[INFO] tweaked toml for crates.io crate juggernaut 0.9.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate juggernaut 0.9.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] [stderr]       Adding rand v0.3.23 (available: v0.10.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded assert_approx_eq v1.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1794209414f810a63979380b0b4d4d07cf0ec148655079c6575aac5865dd980c
[INFO] running `Command { std: "docker" "start" "-a" "1794209414f810a63979380b0b4d4d07cf0ec148655079c6575aac5865dd980c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1794209414f810a63979380b0b4d4d07cf0ec148655079c6575aac5865dd980c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1794209414f810a63979380b0b4d4d07cf0ec148655079c6575aac5865dd980c", kill_on_drop: false }`
[INFO] [stdout] 1794209414f810a63979380b0b4d4d07cf0ec148655079c6575aac5865dd980c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e010c75128c0d28695447e351bd8cd663ab04f8ea22ad12a8fd899ddb0b7186d
[INFO] running `Command { std: "docker" "start" "-a" "e010c75128c0d28695447e351bd8cd663ab04f8ea22ad12a8fd899ddb0b7186d", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling assert_approx_eq v1.1.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling juggernaut v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout] 60 +         cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<dyn Activation>,
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<dyn CostFunction>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<dyn Fn(f64)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<dyn Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Multiplication` is never used
[INFO] [stdout]  --> src/math.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Multiplication<T> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.67s
[INFO] running `Command { std: "docker" "inspect" "e010c75128c0d28695447e351bd8cd663ab04f8ea22ad12a8fd899ddb0b7186d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e010c75128c0d28695447e351bd8cd663ab04f8ea22ad12a8fd899ddb0b7186d", kill_on_drop: false }`
[INFO] [stdout] e010c75128c0d28695447e351bd8cd663ab04f8ea22ad12a8fd899ddb0b7186d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eed88fc6ef96c20e674dcc37694c69ff46540d78ca603d74e755f028a175f9c9
[INFO] running `Command { std: "docker" "start" "-a" "eed88fc6ef96c20e674dcc37694c69ff46540d78ca603d74e755f028a175f9c9", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout] 60 +         cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling juggernaut v0.9.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<dyn Activation>,
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<dyn CostFunction>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<dyn Fn(f64)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<dyn Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Multiplication` is never used
[INFO] [stdout]  --> src/math.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | trait Multiplication<T> {
[INFO] [stdout]   |       ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout]    |         ^                                                            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 60 -         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stdout] 60 +         cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64 
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/nl.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<Activation>,
[INFO] [stdout]   |                         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub activation: Box<dyn Activation>,
[INFO] [stdout]   |                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:15:24
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<CostFunction>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 15 |     cost_function: Box<dyn CostFunction>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:17:29
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stdout]    |                             ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 17 |     on_error_fn: Option<Box<dyn Fn(f64)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/nn.rs:18:29
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 18 |     on_epoch_fn: Option<Box<dyn Fn(&NeuralNetwork)>>,
[INFO] [stdout]    |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:40:41
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:13:41
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Self;
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:60:48
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:14:48
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:145:23
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 145 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:21:23
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stdout]    |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/matrix.rs:150:27
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stdout]     |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/matrix.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.26s
[INFO] running `Command { std: "docker" "inspect" "eed88fc6ef96c20e674dcc37694c69ff46540d78ca603d74e755f028a175f9c9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eed88fc6ef96c20e674dcc37694c69ff46540d78ca603d74e755f028a175f9c9", kill_on_drop: false }`
[INFO] [stdout] eed88fc6ef96c20e674dcc37694c69ff46540d78ca603d74e755f028a175f9c9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4ef5bcd268422c7fd225f67d7ce122d3be84a59a8035d67a43408cfa45b15a07
[INFO] running `Command { std: "docker" "start" "-a" "4ef5bcd268422c7fd225f67d7ce122d3be84a59a8035d67a43408cfa45b15a07", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: unused `#[macro_use]` import
[INFO] [stderr]  --> src/lib.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[macro_use]
[INFO] [stderr]   | ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stderr]    |
[INFO] [stderr] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stderr]    |         ^                                                            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 60 -         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stderr] 60 +         cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]  --> src/nl.rs:7:25
[INFO] [stderr]   |
[INFO] [stderr] 7 |     pub activation: Box<Activation>,
[INFO] [stderr]   |                         ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]   = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]   = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]   |
[INFO] [stderr] 7 |     pub activation: Box<dyn Activation>,
[INFO] [stderr]   |                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/nn.rs:15:24
[INFO] [stderr]    |
[INFO] [stderr] 15 |     cost_function: Box<CostFunction>,
[INFO] [stderr]    |                        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 15 |     cost_function: Box<dyn CostFunction>,
[INFO] [stderr]    |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/nn.rs:17:29
[INFO] [stderr]    |
[INFO] [stderr] 17 |     on_error_fn: Option<Box<Fn(f64)>>,
[INFO] [stderr]    |                             ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 17 |     on_error_fn: Option<Box<dyn Fn(f64)>>,
[INFO] [stderr]    |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/nn.rs:18:29
[INFO] [stderr]    |
[INFO] [stderr] 18 |     on_epoch_fn: Option<Box<Fn(&NeuralNetwork)>>,
[INFO] [stderr]    |                             ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 18 |     on_epoch_fn: Option<Box<dyn Fn(&NeuralNetwork)>>,
[INFO] [stderr]    |                             +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:40:41
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 40 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Matrix {
[INFO] [stderr]    |                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:13:41
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn generate(m: usize, n: usize, f: &Fn(usize, usize) -> f64) -> Self;
[INFO] [stderr]    |                                         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 13 |     fn generate(m: usize, n: usize, f: &dyn Fn(usize, usize) -> f64) -> Self;
[INFO] [stderr]    |                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:60:48
[INFO] [stderr]    |
[INFO] [stderr] 60 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 60 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Matrix {
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:14:48
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn generate_by_row(m: usize, n: usize, f: &Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stderr]    |                                                ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 14 |     fn generate_by_row(m: usize, n: usize, f: &dyn Fn(usize) -> Vec<f64>) -> Self;
[INFO] [stderr]    |                                                +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/matrix.rs:145:23
[INFO] [stderr]     |
[INFO] [stderr] 145 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 145 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix {
[INFO] [stderr]     |                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:21:23
[INFO] [stderr]    |
[INFO] [stderr] 21 |     fn map(&self, f: &Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stderr]    |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 21 |     fn map(&self, f: &dyn Fn(f64, usize, usize) -> f64) -> Matrix;
[INFO] [stderr]    |                       +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]    --> src/matrix.rs:150:27
[INFO] [stderr]     |
[INFO] [stderr] 150 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stderr]     |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]     |
[INFO] [stderr] 150 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix {
[INFO] [stderr]     |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/matrix.rs:22:27
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn map_row(&self, f: &Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 22 |     fn map_row(&self, f: &dyn Fn(Vec<f64>) -> Vec<f64>) -> Matrix;
[INFO] [stderr]    |                           +++
[INFO] [stderr] 
[INFO] [stderr] warning: trait `Multiplication` is never used
[INFO] [stderr]  --> src/math.rs:5:7
[INFO] [stderr]   |
[INFO] [stderr] 5 | trait Multiplication<T> {
[INFO] [stderr]   |       ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `juggernaut` (lib) generated 15 warnings (run `cargo fix --lib -p juggernaut` to apply 13 suggestions)
[INFO] [stderr] warning: `juggernaut` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/juggernaut-50b6ad12f4bed1c0)
[INFO] [stdout] 
[INFO] [stdout] running 51 tests
[INFO] [stdout] test activation::hyperbolictangent::tests::tanh_derivative_test ... ok
[INFO] [stdout] test activation::hyperbolictangent::tests::tanh_test ... ok
[INFO] [stdout] test activation::identity::tests::identity_test ... ok
[INFO] [stdout] test activation::identity::tests::identity_derivative_test ... ok
[INFO] [stdout] test activation::leakyrectifiedlinearunit::tests::leakyrectifiedlinearunit_derivative_test ... ok
[INFO] [stdout] test activation::rectifiedlinearunit::tests::rectifiedlinearunit_derivative_test ... ok
[INFO] [stdout] test activation::softmax::tests::softmax_derivative_correctness_test ... ignored
[INFO] [stdout] test activation::sigmoid::tests::sigmoid_derivative_test ... ok
[INFO] [stdout] test activation::sigmoid::tests::sigmoid_test ... ok
[INFO] [stdout] test activation::leakyrectifiedlinearunit::tests::leakyrectifiedlinearunit_test ... ok
[INFO] [stdout] test activation::sigmoid::tests::sigmoid_derivative_correctness_test ... ok
[INFO] [stdout] test activation::softmax::tests::softmax_test_nan ... ignored
[INFO] [stdout] test activation::rectifiedlinearunit::tests::rectifiedlinearunit_test ... ok
[INFO] [stdout] test activation::softplus::tests::softplus_test ... ok
[INFO] [stdout] test cost::cross_entropy::tests::cross_entropy_calc_half_test ... ok
[INFO] [stdout] test cost::cross_entropy::tests::cross_entropy_calc_test ... ok
[INFO] [stdout] test math::tests::vec_dot ... ok
[INFO] [stdout] test matrix::tests::body ... ok
[INFO] [stdout] test matrix::tests::generate_by_row ... ok
[INFO] [stdout] test matrix::tests::from_vec ... ok
[INFO] [stdout] test matrix::tests::generate_by_row_variable_rows ... ok
[INFO] [stdout] test activation::softmax::tests::softmax_test_sum_one ... ok
[INFO] [stdout] test activation::softplus::tests::softplus_derivative_test ... ok
[INFO] [stdout] test matrix::tests::random_matrix_test ... ok
[INFO] [stdout] test matrix::tests::map_row_variable_rows ... ok
[INFO] [stdout] test matrix::tests::random_mul_test3 ... ok
[INFO] [stdout] test matrix::tests::random_mul_test2 ... ok
[INFO] [stdout] test activation::softmax::tests::softmax_test ... ok
[INFO] [stdout] test matrix::tests::random_mul_test1 ... ok
[INFO] [stdout] test matrix::tests::random_matrix_get ... ok
[INFO] [stdout] test nn::tests::error_function_test ... ok
[INFO] [stdout] test nn::tests::three_hidden_layers ... ok
[INFO] [stdout] test nn::tests::get_layers_test ... ok
[INFO] [stdout] test nn::tests::train_test ... ok
[INFO] [stdout] test nn::tests::train_test_2layers_think ... ok
[INFO] [stdout] test nn::tests::on_epoch_test ... ok
[INFO] [stdout] test nn::tests::forward_test_2layers ... ok
[INFO] [stdout] test matrix::tests::empty_matrix_test ... ok
[INFO] [stdout] test nn::tests::network_with_two_activations ... ok
[INFO] [stdout] test nn::tests::train_test_2layers ... ok
[INFO] [stdout] test matrix::tests::transpose ... ok
[INFO] [stdout] test nn::tests::forward_test ... ok
[INFO] [stdout] test sample::tests::new_predict_output_count ... ok
[INFO] [stdout] test nn::tests::shuffle_data ... ok
[INFO] [stdout] test sample::tests::new_predict_inputs_count ... ok
[INFO] [stdout] test nn::tests::two_hidden_layers ... ok
[INFO] [stdout] test matrix::tests::random_mul_test4 ... ok
[INFO] [stdout] test nn::tests::train_test_multiclass ... ok
[INFO] [stdout] test nl::tests::new_neural_layer ... ok
[INFO] [stdout] test sample::tests::outputs_count ... ok
[INFO] [stderr]    Doc-tests juggernaut
[INFO] [stdout] test sample::tests::inputs_count ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 49 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/cost/cross_entropy.rs:60:9
[INFO] [stderr]    |
[INFO] [stderr] 60 |         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stderr]    |         ^                                                            ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 60 -         (cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64)
[INFO] [stderr] 60 +         cost.fold(0f64, |sum, val| sum + val) / target.cols() as f64 
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/nn.rs - nn::NeuralNetwork::add_layer (line 83) ... ok
[INFO] [stdout] test src/matrix.rs - matrix::Matrix::generate (line 31) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "4ef5bcd268422c7fd225f67d7ce122d3be84a59a8035d67a43408cfa45b15a07", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ef5bcd268422c7fd225f67d7ce122d3be84a59a8035d67a43408cfa45b15a07", kill_on_drop: false }`
[INFO] [stdout] 4ef5bcd268422c7fd225f67d7ce122d3be84a59a8035d67a43408cfa45b15a07
